<template>
  <div class="box" >
  <div class="left">
      <img :src="list.img_url" alt="">
  </div>
  <div class="right">
      <div class="top">{{list.title}}</div>
      <div class="bottom">
          <div class="time">发表时间:{{list.add_time}}</div>
          <div class="click" style="margin-right:2px;">点击:{{list.click}}</div>
      </div>
  </div>
  </div>
</template>

<script>

export default {
props:{
  list:{
        type:Object,
       required:true,
    }
},
mounted(){
    console.log(this.list);
    
}
}
</script>

<style lang="less" scoped>
.box{
    padding: .416667rem .416667rem ;
    height: 5rem;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #cccccc;
.left{
    width: 15%;
height: 3.75rem;

    img{
        width:4.166667rem;
    }
    
}
.right{
        width: 80%;
        height: 100%;
        display:flex ;
        flex-direction: column;
.top{
    height: 60%;
    color: #a7a7a7;

    font-size: 18px;

}
.bottom{
    margin-top:.208333rem; 
    height: 40%;
    display: flex;
    justify-content:space-between;
    color:#26a2ff;

}
    }
    
}
</style>